/*
 * $Revision: 1.3 $ $Date: 2006/04/06 20:26:50 $

 */
package org.vectrics.user;

import java.util.Date;

import org.vectrics.common.db.RecordObject;

/**
 * ServiceRequest represents one HTTP or other type of request submitted by a user.
 * @author mmoore
 */
public class ServiceRequest implements RecordObject {
    private Long id = null;
    private Long personId = null;
    private String request = null;
    private Date timeStamp = null;
    private String sessionId = null;
    private String clientIp = null;
    private String country = null;
    private String language = null;
    private String parameters = null;
    private String error = null;
     
    
    
    /**
     * @return Returns the unique id for this service request.
     */
    public Long getId() {
        return id;
    }
    /**
     * @param id The unique id to set.
     */
    public void setId(Long id) {
        this.id = id;
    }
    /**
     * @return Returns the clientIp.
     */
    public String getClientIp() {
        return clientIp;
    }
    /**
     * @param clientIp The clientIp to set.
     */
    public void setClientIp(String clientIp) {
        this.clientIp = clientIp;
    }
    /**
     * @return Returns the personId.
     */
    public Long getPersonId() {
        return personId;
    }
    /**
     * @param personId The personId to set.
     */
    public void setPersonId(Long personId) {
        this.personId = personId;
    }
    /**
     * @return Returns the request.
     */
    public String getRequest() {
        return request;
    }
    /**
     * @param request The request to set.
     */
    public void setRequest(String request) {
        this.request = request;
    }
    /**
     * @return Returns the sessionId.
     */
    public String getSessionId() {
        return sessionId;
    }
    /**
     * @param sessionId The sessionId to set.
     */
    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }
    /**
     * @return Returns the timeStamp.
     */
    public Date getTimeStamp() {
        return timeStamp;
    }
    /**
     * @param timeStamp The timeStamp to set.
     */
    public void setTimeStamp(Date timeStamp) {
        this.timeStamp = timeStamp;
    }
    
    
	/**
	 * @return Returns the country.
	 */
	public String getCountry() {
		return country;
	}
	/**
	 * @param country The country to set.
	 */
	public void setCountry(String country) {
		this.country = country;
	}
	/**
	 * @return Returns the language.
	 */
	public String getLanguage() {
		return language;
	}
	/**
	 * @param language The language to set.
	 */
	public void setLanguage(String language) {
		this.language = language;
	}
        /**
     * @return Returns the parameters.
     */
    public String getParameters() {
        return parameters;
    }
    /**
     * @param parameters The parameters to set.
     */
    public void setParameters(String parameters) {
        this.parameters = parameters;
    }
	/**
	 * @return Returns the error.
	 */
	public String getError() {
		return error;
	}
	/**
	 * @param error The error to set.
	 */
	public void setError(String error) {
		this.error = error;
	}
    
    
}
